package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-数据开放平台
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_open_app")
@ApiModel(value = "ErpOpenApp对象", description = "ERP系统-数据开放平台")
public class ErpOpenApp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("应用名称")
    private String name;

    @ApiModelProperty("应用key")
    private String appKey;

    @ApiModelProperty("应用密钥")
    private String appSecret;

    @ApiModelProperty("消息验证TOKEN")
    private String appToken;

    @ApiModelProperty("可用状态 0.禁用 1.可用")
    private Integer isEnabled;

    @ApiModelProperty("是否删除 1-删除 0-未删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    private Date createTime;

    private Date modifyTime;

}
